<template>
  <div>
    <p class="card">
      From CompB {{text}} {{ver}}
    </p>
  </div>
</template>
<!--必须指定为ts-->
<script lang="ts" src="./compb.ts">
</script>

<style>
  .card {
    padding: 10px;
  }
</style>
